int a=10;
int b=20;

//算数运算符
int sum=a+b;//加
int diff=a-b;//减
int product=a*b;//乘
int quotient=a~/b;//除
int remainder=a%b;//取余

//关系运算符
bool isEqual=(a==b);//等于
bool isNotEqual=(a!=b);//不等于
bool isGreater=a>b;//大于
bool isLess=a<b;//小于

//逻辑运算符
bool and=(a>5)&&(b<10);//与
bool or=(a>5)||(b<10);//或
bool not=!(a>5);//非